package cs.inner;

public class Cleaner {
    private String name;
    public Cleaner(String n){
        name=n;
    }
    public void doClean(String roomNo){
        class Xichengqi{
            public void work(){
                System.out.println("这个吸尘器开始工作了,属于"+name+",目前在打扫房间号是"+roomNo);
            }
        }
        Xichengqi x=new Xichengqi();
        x.work();
    }
//    public void cleanDiban(){
//        Xichengqi x=new Xichengqi();
//        x.work();
//    }
}
